package cn.springcloud.provider.dao;

import cn.springcloud.api.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author gc
 * @Date 2019/12/9 15:06  周一
 * @Description
 */

@Mapper
public interface UserDao {

    List<User> findAll();

    User findById(@Param("id") String id);

    List<Map<String, Object>> findAllUser();

    User findByName(String userName);
}
